From aaeb28f005cbe5dba4e5a598ba4f1318cef49943 Mon Sep 17 00:00:00 2001 From: parkrrrr Date: Thu, 16 Sep 2004 20:15:28 +0000 Subject: [PATCH] testo case for stack filter git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@919 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/testo | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gpsbabel/testo b/gpsbabel/testo index 1ca9290e6..a3b52551f 100755 --- a/gpsbabel/testo +++ b/gpsbabel/testo @@ -583,5 +583,15 @@ compare ${TMPDIR}/hsandv.exp reference ${PNAME} -i hsandv -f reference/Glad_4.exp -o hsandv -F ${TMPDIR}/Glad_5.exp compare ${TMPDIR}/Glad_5.exp reference +# +# stack filter tests +# These don't actually test for proper behavior, for now, but they do +# exercise all of the currently-extant filter code except for the "clean +# up leftover stacks" code that would output a warning. Of course, that +# code is the most likely to generate memory leaks, so maybe we need a +# 'nowarn' option to the stack filter so we can test it... +# + +${PNAME} -i geo -f geocaching.loc -x stack,push,copy -x stack,push,copy -x stack,push -x stack,pop,replace -x stack,pop,append -x stack,push,copy -x stack,pop,discard -x stack,swap,depth=1 -x stack,pop -o arc -F ${TMPDIR}/stackfilt.txt exit 0 -- 2.30.2